package com.zzcoder.mall.data.dao.repository;

import com.zzcoder.mall.data.model.OmsOrderItem;

import java.util.List;

public interface OmsOrderItemRepository extends BaseEntityRepository<OmsOrderItem> {
    List<OmsOrderItem> findAllByOrderIdEquals(Long orderId);

    List<OmsOrderItem> findAllByOrderIdIn(List<Long> orderIds);

    void deleteAllByOrderIdEquals(Long orderId);
}
